package com.yida.wy.config.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;

import java.util.Date;
/**
 * 公维金政策公告对象 gwj_policy_notice
 * 
 * @author ruoyi
 * @date 2023-05-30
 */
public class WyPolicyNotice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /**
     * 政策编号
     */
    private String policyCode;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 排序 */
    @Excel(name = "排序")
    private Long sort;

    /** 发布时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseTime;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** 状态(0:未发布;1:已发布) */
    @Excel(name = "状态(0:未发布;1:已发布)")
    private String status;

    /** 类型(0:政策公告;1:小区信息公示) */
    @Excel(name = "类型(0:政策公告;1:小区信息公示)")
    private String type;

    /** 地区ID */
    @Excel(name = "地区ID")
    private Long areaId;

    /** 街道ID */
    @Excel(name = "街道ID")
    private String streetId;

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getStreetId() {
        return streetId;
    }

    public void setStreetId(String streetId) {
        this.streetId = streetId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getPolicyCode() {
        return policyCode;
    }

    public void setPolicyCode(String policyCode) {
        this.policyCode = policyCode;
    }

    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setSort(Long sort) 
    {
        this.sort = sort;
    }

    public Long getSort() 
    {
        return sort;
    }
    public void setReleaseTime(Date releaseTime) 
    {
        this.releaseTime = releaseTime;
    }

    public Date getReleaseTime() 
    {
        return releaseTime;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjPolicyNotice{");
        sb.append("id=").append(id);
        sb.append(", policyCode='").append(policyCode).append('\'');
        sb.append(", title='").append(title).append('\'');
        sb.append(", sort=").append(sort);
        sb.append(", releaseTime=").append(releaseTime);
        sb.append(", content='").append(content).append('\'');
        sb.append(", status='").append(status).append('\'');
        sb.append(", type='").append(type).append('\'');
        sb.append(", areaId=").append(areaId);
        sb.append(", streetId='").append(streetId).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
